						<form method="post" action="<?php echo $action ?>">
<?php
	$itemNumber = 1;
	foreach( $questions as $question ) :
?>
						<div>
							<strong><?php echo $itemNumber ?>)<?php echo $question['text'] ?></strong>
							<div style="padding-left: 20px;">
								<div><input value="a" id="<?php echo $itemNumber . 'a' ?>" name="question[<?php echo $question['exam_session_question_id'] ?>]" type="radio" /><label for="<?php echo $itemNumber . 'a' ?>"><?php echo $question['choice_a'] ?></label></div>
								<div><input value="b" id="<?php echo $itemNumber . 'b' ?>" name="question[<?php echo $question['exam_session_question_id'] ?>]" type="radio" /><label for="<?php echo $itemNumber . 'b' ?>"><?php echo $question['choice_b'] ?></label></div>
								<div><input value="c" id="<?php echo $itemNumber . 'c' ?>" name="question[<?php echo $question['exam_session_question_id'] ?>]" type="radio" /><label for="<?php echo $itemNumber . 'c' ?>"><?php echo $question['choice_c'] ?></label></div>
								<div><input value="d" id="<?php echo $itemNumber . 'd' ?>" name="question[<?php echo $question['exam_session_question_id'] ?>]" type="radio" /><label for="<?php echo $itemNumber . 'd' ?>"><?php echo $question['choice_d'] ?></label></div>

							</div>
						</div>
<?php $itemNumber++; ?>
<?php		endforeach; ?>
						<input type="hidden" name="exam_session_id" value="<?php echo $exam_session_id ?>" />
						<input type="submit" value="Submit exam" />
						</form>